﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace GP.Logic.Model
{
    public class Doctor
    {
        [Required]
        public long DocId { get; set; }

        [Required]
        public string Name { get; set; }

        [Required]
        public string LicensNr { get; set; }
        
        public string Email { get; set; }
        public string Phone { get; set; }

        public virtual ICollection<GpSysUser> GpSysUsers { get; set; }
        public virtual ICollection<GrantedAccessTo> GratedAccessTos { get; set; }
        public virtual ICollection<Citizen> Citizens { get; set; }
    }
}